package com.fowo.api.flow.model.dto;

import com.alibaba.fastjson.JSONObject;
import com.fowo.api.user.model.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @fileName: HandleDataDTO
 * @Description: 代码目的，作用，如何工作
 * @Author: pzh
 * @Date: 2023/4/10 0010 9:59
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class HandleDataDTO {
    @Schema(title="任务id")
    private String taskId;
    @Schema(title="流程实例id")
    private String processInstanceId;
    @Schema(title="表单数据")
    private JSONObject formData;
    @Schema(title="附件")
    private List attachments;
    @Schema(title="意见")
    private String comments;
    @Schema(title="签名信息")
    private String signInfo;
    @Schema(title="转办用户信息")
    private CurrentUser transferUserInfo;
    @Schema(title="加签用户信息")
    private CurrentUser multiAddUserInfo;
    @Schema(title="退回节点id")
    private String rollbackId;
    @Schema(title="当前用户信息")
    private CurrentUser currentUserInfo;

    @Schema(title="处理类型")
    private Integer handleType;
}
